/* 全局页面通用配置 ----start----*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;

    // & 表示为连接符号,在css中为：*:before
    &:before,
    &:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}

html {
    overflow: hidden;
    height: 100%;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
    font-size: 20px; // 默认字体大小：16px
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    position: relative;
    height: 100%;
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;

    article,
    aside,
    details,
    figcaption,
    figure,
    footer,
    header,
    hgroup,
    main,
    menu,
    nav,
    section,
    summary {
        display: block;
    }
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 全局页面通用配置 ----end----*/

.application-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    z-index: 99;
}

// @font-face {
//     font-family: 'iconfont';
//     src: url('//at.alicdn.com/t/font_2112328_rrqgaa8r3ni.woff2?t=1629641675977') format('woff2'),
//          url('//at.alicdn.com/t/font_2112328_rrqgaa8r3ni.woff?t=1629641675977') format('woff'),
//          url('//at.alicdn.com/t/font_2112328_rrqgaa8r3ni.ttf?t=1629641675977') format('truetype');
// }

/*---end---*/

// antd样式引入--"~" 指相对路径，从更目录开始计算
@import '~antd/dist/antd.css';

.my-layout-container {
    display: block;
    height: 100%;
    background-color: #fff;
    > header {
        display: block;
        position: relative;
        height: 49px;
        padding: 8px 12px;
        border-bottom: solid 1px #ddd;
        text-align: right;
        .ant-input {
            width: 200px;
        }
        .ant-btn,
        .ant-input {
            margin-left: 12px;
        }
        .ant-btn,
        .ant-input {
            margin-left: 12px;
        }

    }
    > article {
        display: block;
        position: relative;
        padding: 8px 12px;
        height: calc(100% - 49px - 41px);
        .ant-input-group-addon {
            color: rgb(255 255 255);
            background-color: #1890ff;
        }
        .ant-col-8 {
            max-width: 18%;
        }
    }
    > footer{
        display: block;
        position: relative;
        height: 41px;
        padding: 8px 12px;
        border-top: solid 1px #ddd;
        float: right;
    }
    &.no-footer {
        > article {
            height: calc(100% - 49px);
        }
        > footer {
            display: none;
        }
    }
}